﻿@using MyBlog2
@model MyBlog2.Models.User
@{
    ViewData["Title"] = "后台登录";
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>后台登录</title>
    <link rel="stylesheet" href="~/admin/css/auth.css">
</head>

<body>
    <div class="lowin">
        <div class="lowin-wrapper">
            <div class="lowin-box lowin-login">
                <div class="lowin-box-inner">
                    <form method="post" action="/Admin/Home/Login">
                        @*<div asp-validation-summary="ModelOnly" class="text-danger"></div>*@
                        <p>管理员登录</p>
                        <div class="lowin-group">
                            <label>用户名</label>
                            <input asp-for="UserName" type="text" class="lowin-input">
                            @*<span asp-validation-for="UserName" class="text-danger"></span>*@
                        </div>
                        <div class="lowin-group">
                            <label>密码</label>
                            <input asp-for="Password" type="password" id="password" name="password" autocomplete="current-password" class="lowin-input">
                            @*<span asp-validation-for="Password" class="text-danger"></span>*@
                        </div>
                        <button type="submit" class="lowin-btn">
                            登录
                        </button>
                    </form>
                </div>
            </div>
        </div>

        <footer class="lowin-footer">
        </footer>
    </div>

  
</body>
</html >
